package com.itheima.string;

public class StringDemo2 {
    /*
        String类常见构造方法

     */
    public static void main(String[] args) {
        char[] chs={'a','b','c'};
        String s1=new String(chs);
        String s2=new String();
        String s3=new String("abc");
    }
}
